package cn.lcc.ymcc.fegin;


import cn.lcc.ymcc.domain.Login;
import cn.lcc.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "service-uaa",fallbackFactory =UaafeignCallBack.class)
public interface IUaaFeignClient {
    @RequestMapping(value="/login/saveLogin",method= RequestMethod.POST)
    public JSONResult saveLogin(@RequestBody Login login);
}
